<?php
require_once('session_handler.php');

function logout_main()
{
	session_handler_start();
	session_destroy(); 
	header("Location: firstpage.php");
}

if (!debug_backtrace())
{
	logout_main();
}
?>